import Logo from 'Comps/Logo'
import Pendant from 'Comps/Pendant'
import ToolsBar from 'Comps/ToolsBar'

import { mapGetters } from 'vuex'
export default {
  computed: {
    ...mapGetters([
      'sceneList',
      'panoInfo',
      'worksData',
      'menuData'
    ]),
    getSceneStatus() {
      // toolsbar 所需数据返回后加载
      if (this.worksData && this.sceneList && this.menuData) {
        return true
      }
    },
    getMenuStatus() {
      if (this.panoInfo && this.menuData) {
        return true
      }
    }
  },
  components: {
    Logo,
    Pendant,
    ToolsBar
  }
}
